package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.UserInfo;

import java.util.List;

/**
 * 用户服务接口
 */
public interface IUserInfoService {
    /**
     * 单个查询
     * @param id
     * @return
     */
    UserInfo get(String id);

    Boolean findByPhone(String phone);

    void userRegist(String phone, String nickname, String password, String rpassword, String verifyCode);

    void sendVerifyCode(String s, String url, String phone);

    UserInfo checkLogin(String username, String password);

    List<UserInfo> list();

    List<UserInfo> getByCity(String keyword);
}
